package myky.com.doctorapp.contract

import io.reactivex.Observable
import myky.com.doctorapp.base.BaseEntity
import myky.com.doctorapp.base.BaseView
import myky.com.doctorapp.entity.AreaWrapperEntity

interface FindDoctorByAreaContract {
    interface Model {
        fun findArea(): Observable<BaseEntity<AreaWrapperEntity.DataBean>>
    }

    interface View : BaseView<AreaWrapperEntity> {
        fun showArra(areaEntities: List<AreaWrapperEntity.DataBean.AreaBean>)
    }

    interface Presenter {
        fun findArea()
    }
}
